<form action="/user/saveprofile" method="post">
<font color="red"><%=@word%></font><br/>
<table class="noborder">
  <tr>
    <td>Email(Username): </td>
    <td><%=@user.username%></td>
  </tr>
  <tr>
    <td>Password:</td>
    <td><a href="/user/editpassword">Edit Password</a></td>
  </tr>
  <tr>
    <td>Registration Code:</td>
    <td><%=@user.register_code%></td>
  </tr>
  <tr>
    <td>Title: </td>
    <td><input type="text" name="u[title]" value="<%=@user.title%>"/></td>
  </tr>
  <tr>
    <td>Firstname: </td>
    <td><input type="text" name="u[firstname]" value="<%=@user.firstname%>"/></td>
  </tr>
  <tr>
    <td>Lastname: </td>
    <td><input type="text" name="u[lastname]" value="<%=@user.lastname%>"/></td>
  </tr>
  <tr>
    <td>Tel: </td>
    <td><input type="text" name="u[tel]" value="<%=@user.tel%>"/></td>
  </tr>
  <tr>
    <td>Job Position: </td>
    <td><input type="text" name="u[job_position]" value="<%=@user.job_position%>"/></td>
  </tr>
  <tr>
    <td>Organization: </td>
    <td><input type="text" name="u[office]" value="<%=@user.office%>"/></td>
  </tr>
  <tr>
    <td colspan="2"><input type="submit" value="Save"/></td>
  </tr>
</table>
</form>